The use of C headers and therefore C functions in a C++ program, is sometimes necessary, but should be avoided in favor of C++ headers and
functions.
Noncompliant code example
#include <string.h>
Compliant solution
#include <cstring>
#include <string>